package com.example.cofeed.api;

/**
 * Created by mqwang on 2017/11/15.
 */

public class APIUrl {

    //    public static final String BASE_URL = "http://api.cofeed.com/smsapi";
    public static final String BASE_URL = "https://app.cofeed.com";
//    public static final String BASE_URL = "http://api.cofeed.com";

    /**
     * 用户验证码下发接口
     */
    public static final String VERIFYCODE = BASE_URL + "/verifycode";
    /**
     * 注册一
     */
    public static final String REGISTER_FIRST = BASE_URL + "/register/first";
    /**
     * 注册二
     */
    public static final String REGISTER = BASE_URL + "/register/second";
    /**
     * 登录
     */
    public static final String SMSLOGIN = BASE_URL + "/login";
    /**
     * 用户注销登陆
     */
    public static final String SMSLOGIN_LOGOUT = BASE_URL + "/login/logout";
    /**
     * 关注的品种
     */
    public static final String CATALOGS = BASE_URL + "/catalogs";
    /**
     * 上传用户关注的品种
     */
    public static final String SETAREAS = BASE_URL + "/setareas";
    /**
     * 我的消息
     */
    public static final String MYMSG = BASE_URL + "/mymsg";
    /**
     * 删除消息
     */
    public static final String MYMSG_DELETE = BASE_URL + "/mymsg/delete";
    /**
     * 用户找回密码
     */
    public static final String PASSWORD_GET_BACK = BASE_URL + "/password/get_back";
    /**
     * 用户修改密码
     */
    public static final String PASSWORD_MODIFY = BASE_URL + "/password/modify";
    /**
     * 用户中心菜单
     */
    public static final String OTHER_GET_USER_MENU = BASE_URL + "/other/get_user_menu";
    /**
     * 设置菜单
     */
    public static final String OTHER_GET_CONFIG_MENU = BASE_URL + "/other/get_config_menu";
    /**
     * 版本号
     */
    public static final String VERSION = BASE_URL + "/version/android";


    /**
     * 整合接口，首页
     */
    public static final String DATASET_HOMEPAGE = BASE_URL + "/dataset/homepage";
    /**
     * 整合接口，首页 关注
     */
    public static final String DATASET_FOLLOW = BASE_URL + "/dataset/follow";
    /**
     * 头部导航：推荐
     */
    public static final String DATASET_RECOMMEND = BASE_URL + "/dataset/recommend";
    /**
     * 搜索
     */
    public static final String SEARCHER = BASE_URL + "/searcher";
    /**
     * 搜索 SEARCH_V2
     */
    public static final String SEARCH_V2 = BASE_URL + "/search/v2";
    /**
     * 搜索 get_words
     */
    public static final String SEARCH_GET_WORDS = BASE_URL + "/search/get_words";
    /**
     * 搜索 SEARCH_HOTWORDS
     */
    public static final String SEARCH_HOTWORDS = BASE_URL + "/search/hotwords";
    /**
     * 地区接口
     */
    public static final String NAVIGATOR_GET_AREAS = BASE_URL + "/navigator/get_areas";
    /**
     * 导航栏
     */
    public static final String NAVIGATOR_GET_LIST = BASE_URL + "/navigator/get_list";
    /**
     * 获取全部导航的品种、频道数据
     */
    public static final String NAVIGATOR_GET_ALL = BASE_URL + "/navigator/get_all";
    /**
     * 用户自定义导航-保存
     */
    public static final String NAVIGATOR_ADD_CUSTOM = BASE_URL + "/navigator/save_custom";
    /**
     * 供求用户自定义导航-保存
     */
    public static final String NAVIGATOR_SAVE_SUPPLY_CUSTOM = BASE_URL + "/navigator/save_supply_custom";
    /**
     * 供求导航条接口
     */
    public static final String NAVIGATOR_SUPPLY = BASE_URL + "/navigator/supply";
    /**
     * 供求导航条接口
     */
    public static final String REGISTER_CATALOGS = BASE_URL + "/register/catalogs";
    /**
     * 自定义与初始化供求导航条合并接口
     */
    public static final String NAVIGATOR_SUPPLY_NAV = BASE_URL + "/navigator/supply_nav";
    /**
     * 供求品种的规格
     */
    public static final String NAVIGATOR_SUPPLY_GET_STANDARD = BASE_URL + "/supply/get_standard";
    /**
     * 供求列表
     */
    public static final String SUPPLY_GET_LIST = BASE_URL + "/supply/get_list";
    /**
     * 我的供求列表
     */
    public static final String SUPPLY_GET_USER_LIST = BASE_URL + "/supply/get_user_list";
    /**
     * 供求编辑
     */
    public static final String SUPPLY_EDIT = BASE_URL + "/supply/edit";
    /**
     * 供求保存
     */
    public static final String SUPPLY_SAVE = BASE_URL + "/supply/save";
    /**
     * 文件上传接口
     */
    public static final String UPLOADER = BASE_URL + "/uploader";
    /**
     * 意见反馈
     */
    public static final String SUGGESTION_ADD = BASE_URL + "/suggestion/add";
    /**
     * 点击对应导航数据接口
     */
    public static final String NAVIGATOR_SUBNAV = BASE_URL + "/navigator/subnav";
    /**
     * 浏览记录接口
     */
    public static final String LOGVIEW_ARTICLE = BASE_URL + "/logview/article";
    /**
     * 【浏览记录清除接口】
     */
    public static final String LOGVIEW_DELETE_ARTICLE = BASE_URL + "/logview/delete_article";
    /**
     * 供求置顶
     */
    public static final String SUPPLY_REFRESH = BASE_URL + "/supply/refresh";
    /**
     * 获取用户资料接口
     */
    public static final String USERINFO_GET_EDIT = BASE_URL + "/userinfo/get_edit";
    /**
     * 获取用户姓名头像接口
     */
    public static final String USERINFO_PICNAME = BASE_URL + "/userinfo/picname";
    /**
     * 获取客服电话
     */
    public static final String SERVICE_PHONE = BASE_URL + "/service/phone";
    /**
     * 短信在线订阅状态查询
     */
    public static final String IS_SUBSCRIBE = BASE_URL + "/service/is_subscribe";
    /**
     * 我的关注
     */
    public static final String GET_FOLLOWINFO = BASE_URL + "/followinfo/get";
    /**
     * 用户资料保存接口
     */
    public static final String SAVE_USERINFO = BASE_URL + "/userinfo/save";
    /**
     * 我的关注开关
     */
    public static final String FOLLOWINFO_ON_OFF = BASE_URL + "/followinfo/on_off";
    /**
     * 消息菜单接口
     */
    public static final String MENU_MESSAGE = BASE_URL + "/menu/message";
    /**
     * 系统消息
     */
    public static final String MESSAGE_SYSMSG = BASE_URL + "/message/system";
    /**
     * 咨询消息列表
     */
    public static final String MESSAGE_SUPPLY = BASE_URL + "/message/supply";
    /**
     * 用户评价列表
     */
    public static final String COMMENT_USER = BASE_URL + "/comment/user";
    /**
     * 商机消息列表
     */
    public static final String MESSAGE_BUSINESS = BASE_URL + "/message/business";
    /**
     * 供求咨询回复
     */
    public static final String SUPPLY_ASKING_REPLY = BASE_URL + "/supply_asking/reply";
    /**
     * 指数接口
     */
    public static final String INDEX_NUMBER = BASE_URL + "/index_number";
    /**
     * 一级关注列表接口
     */
    public static final String FOLLOWINFO_FOLLOWLIST = BASE_URL + "/followinfo/followlist";
    /**
     * 二级关注列表接口
     */
    public static final String FOLLOWINFO_SUBFOLLOWLIST = BASE_URL + "/followinfo/subfollowlist";
    /**
     * 添加关注
     */
    public static final String FOLLOWINFO_ADD = BASE_URL + "/followinfo/add";
    /**
     * 推送设置选项列表
     */
    public static final String PUSH_LIST_OPTIONS = BASE_URL + "/push/list_options";
    /**
     * 推送设置
     */
    public static final String PUSH_SET = BASE_URL + "/push/set";
    /**
     * 注册三】
     */
    public static final String REGISTER_THIRD = BASE_URL + "/register/third";
    /**
     * 【密码，校验手机是否绑定账号】
     */
    public static final String PASSWORD_MOBILE_STATUS = BASE_URL + "/password/mobile_status";
    /**
     * 密码，校验账号是否绑定手机
     */
    public static final String PASSWORD_ACCOUNT_STATUS = BASE_URL + "/password/account_status";
    /**
     * 【密码，绑定手机】
     */
    public static final String PASSWORD_BIND_MOBILE = BASE_URL + "/password/bind_mobile";
    /**
     * 【密码，校验】
     */
    public static final String PASSWORD_CHECK = BASE_URL + "/password/check";
    /**
     * 分享
     */
    public static final String ARTICLE_SHARE = BASE_URL + "/article/share";
    /**
     * 分享
     */
    public static final String SUPPLY_SHARE = BASE_URL + "/supply/share";

    /**
     * 短信列表
     */
    public static final String SMS = "http://api.cofeed.com" + "/smsapi/sms";
    /**
     * 短信自动登录
     */
    public static final String SMS_AUTOLOGIN = "http://api.cofeed.com" + "/smsapi/autologin";
    /**
     * 删除
     */
    public static final String SMS_DELETE = "http://api.cofeed.com" + "/smsapi/sms/delete";
    /**
     * 收藏
     */
    public static final String FAVORITE = "http://api.cofeed.com" + "/smsapi/favorite";
    /**
     * 收藏删除
     */
    public static final String FAVORITE_DELETE = BASE_URL + "/favorite/delete";
    /**
     * 我的收藏列表
     */
    public static final String FAVORITE_LIST_FAVOR = BASE_URL + "/favorite/get_list";
    /**
     * 可订阅列表
     */
    public static final String SUBSCRIBE = "http://api.cofeed.com" + "/smsapi/subscribe";
    /**
     * 可订阅城市列表
     */
    public static final String SUBSCRIBE_CITY = "http://api.cofeed.com" + "/smsapi/subscribe/city";
    /**
     * 购物车
     */
    public static final String CART = "http://api.cofeed.com" + "/smsapi/cart";
    /**
     * 选择品种列表
     */
    public static final String SMS_CATALOGS = "http://api.cofeed.com" + "/smsapi/sms/catalogs";
    /**
     * 加入订阅接口
     */
    public static final String CART_ADD = "http://api.cofeed.com" + "/smsapi/cart/add";
    /**
     * 我的订阅
     */
    public static final String MY_SUBSCRIPTION = "http://api.cofeed.com" + "/smsapi/my_subscription";
    /**
     * 订阅推送列表
     */
    public static final String PUSH_SUBSCRIPTION = "http://api.cofeed.com" + "/smsapi/push_subscription";
    /**
     * 订阅推送设置
     */
    public static final String PUSH_SUBSCRIPTION_SET = "http://api.cofeed.com" + "/smsapi/push_subscription/set";
    /**
     * 消息详情
     */
    public static final String SMS_CONTENT = "http://api.cofeed.com" + "/smsapi/sms/content";
    public static final String MENU_USER = BASE_URL + "/menu/user";
    /**
     * 生成支付订单
     */
    public static final String ORDERS = "http://api.cofeed.com" + "/smsapi/orders";
    /**
     * 支付方式列表
     */
    public static final String PAYMENT = "http://api.cofeed.com" + "/smsapi/payment";
    /**
     * 请求支付串
     */
    public static final String PAYMENT_GET_PAYMENT_INFO = "http://api.cofeed.com" + "/smsapi/payment2/get_payment_info";
    /**
     * 短信模块登出接口
     */
    public static final String SMS_LOGOUT = "http://api.cofeed.com" + "/smsapi/smslogin/logout";

    /**
     * 纠错
     */
    public static final String SMS_CORRECT = "http://api.cofeed.com" + "/smsapi/sms/correct";
    /**
     * 我的短信收藏列表
     */
    public static final String FAVORITE_LIST_FAVOR_JIU = "http://api.cofeed.com" + "/smsapi/favorite/list_favor";

}

